package com.dy.cc;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user")
@ApiModel(value="User对象", description="")
public class User implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户名称")
    private String name;

    private String password;

    private String phone;

    @ApiModelProperty(value = "抖音号")
    private String number;

    private Integer age;

    private String address;

    @ApiModelProperty(value = "获赞量")
    private Long getThumbsUp;

    @ApiModelProperty(value = "粉丝")
    private Long fans;

    @ApiModelProperty(value = "关注")
    private Long focus;

    private String image;

    private Integer live;

    private Integer doucoin;

    private Integer status;

    private Integer disable;

    @TableField(exist = false)
    private Integer num;

    @TableField(exist = false)
    private String newpassword;

    private Integer clearStatus;
}
